package com.sdhs.paas.zuul;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

/**
 * 容器服务控制台的网关服务，所有客户端请求从网关路由到具体的微服务。
 *
 * @author lpeng
 */
@SpringBootApplication
//@SpringCloudApplication
//@EnableZuulProxy
//@EnableScheduling
//@EnableFeignClients({"com.sdhs.paas.authclient.service"})
//@EnableAceAuthClient
@ComponentScan(value = {"com.sdhs"})
public class PaasConfigGatewayApplication {

    public static void main(String[] args) {
        SpringApplication.run(PaasConfigGatewayApplication.class, args);
    }

//    @Bean
//    public AmeAuthenticationFilter getAmeAuthenticationFilter() {
//        return new AmeAuthenticationFilter();
//    }
//
//    @Bean
//    public AmeAccessFilter getAccessFilter() {
//        return new AmeAccessFilter();
//    }
//
//    @Bean
//    public AmeMenuFilter getMenuFilter() {
//        return new AmeMenuFilter();
//    }

}